/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.modulars.customer.customerinfo.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.core.base.entity.BaseEntity;

import java.util.Date;

/**
 * 客户信息 Entity
 *
 * @author 17607080935
 * @date 2025-06-28 23:58:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CustomersInfo extends BaseEntity {

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private String gender;

    /**
     * 手机号
     */
    private String phone;

    /**
     * openid
     */
    private String wechatOpenid;

    /**
     * unionid
     */
    private String wechatUnionid;

    /**
     * email
     */
    private String email;

    /**
     * 身份证
     */
    private String idCard;

    /**
     * 住址
     */
    private String address;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 备注
     */
    private String remark;

    /**
     * 最后登录时间
     */
    private Date lastLoginTime;

    /**
     * 父级主键集合
     */
    private String orgIds;

    // ========================================

    /**
     * 多租户字段
     */
    private String tenantId;

    /**
     * 逻辑删除字段
     */
    @TableLogic
    private Integer deleted;

}